VersionGroup

@Serializable
data class VersionGroup(val id: Int, val name: String, val order: Int, val generation: Handle.Named<Generation>, val moveLearnMethods: List<Handle.Named<MoveLearnMethod>>, val pokedexes: List<Handle.Named<Pokedex>>, val regions: List<Handle.Named<Region>>, val versions: List<Handle.Named<Version>>) : NamedModel(source)

Version groups categorize highly similar versions of the games. See: https://pokeapi.co/docs/v2#version-groups

Parameters

id

The identifier for this resource.

name

The name for this resource.

order

Order for sorting. Almost by date of release, except similar versions are grouped together.

generation

The generation this version was introduced in.

moveLearnMethods

A list of methods in which Pokémon can learn moves in this version group.

pokedexes

A list of Pokédexes introduces in this version group.

regions

A list of regions that can be visited in this version group.

versions

The versions this version group owns.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, order: Int, generation: Handle.Named<Generation>, moveLearnMethods: List<Handle.Named<MoveLearnMethod>>, pokedexes: List<Handle.Named<Pokedex>>, regions: List<Handle.Named<Region>>, versions: List<Handle.Named<Version>>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard
val order: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard